package easyjava.hibernate.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name="choose_course")
@Entity
public class ChooseCourse {
       @Id
       @Column(name="id")
       private int id;
       @Column(name="create_time")
       private Date createTime;
       @Column(name="student_id")
       private int studentId;
       @Column(name="course_offered_id")
       private int courseOfferedId;
	@Override
	public String toString() {
		return "ChooseCourse [id=" + id + ", createTime=" + createTime + ", studentId=" + studentId
				+ ", courseOfferedId=" + courseOfferedId + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public int getStudentId() {
		return studentId;
	}
	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}
	public int getCourseOfferedId() {
		return courseOfferedId;
	}
	public void setCourseOfferedId(int courseOfferedId) {
		this.courseOfferedId = courseOfferedId;
	}
       
}
